Ext.FormPanel.prototype.DBNull = function(value){
		if(value == '' || value == null)
			return 'null';
		else
			return value;
	};


Ext.FormPanel.prototype.getValues = function () {
		var form = this.getForm();
		var ret = [];
		form.items.each(function(f){
			if( f.submitValue != false && f.inputType != 'file')
				if(f.xtype == 'multiselect')
					ret.push(this.DBNull(f.getItems()));
				else
					ret.push(this.DBNull(f.getValue()));
        }, this);
		return ret;
};